<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/7/23 0023
 * Time: 14:31
 */

namespace app\common\service;


class Swoole
{
    public static function timeAfter($order_id){
        //单次执行
        \swoole\timer::after(5000,function($order_id){
            echo "3000后执行 \n";
        });
        dd(666);
    }
};

